package com.qdu.bussiness.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qdu.common.annotation.Excel;
import com.qdu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 教练信息对象 bus_coach
 * 
 * @author qdu
 * @date 2022-03-09
 */
public class BusCoach extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long coachId;

    /** 教练姓名 */
    @Excel(name = "教练姓名")
    private String coachName;

    /** 教练编码 */
    @Excel(name = "教练编码")
    private String coachCode;

    /** 教龄 */
    @Excel(name = "教龄")
    private Long coachTeachYear;

    /** 教练性别 */
    @Excel(name = "教练性别")
    private String coachGender;

    /** 教练生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "教练生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date coachBirthday;

    /** 客单价 */
    @Excel(name = "客单价")
    private BigDecimal coachUnitPrice;

    /** 教练介绍 */
    @Excel(name = "教练介绍")
    private String coachDescription;

    /** 教练状态 */
    @Excel(name = "教练状态")
    private String coachStatus;

    public void setCoachId(Long coachId) 
    {
        this.coachId = coachId;
    }

    public Long getCoachId() 
    {
        return coachId;
    }
    public void setCoachName(String coachName) 
    {
        this.coachName = coachName;
    }

    public String getCoachName() 
    {
        return coachName;
    }
    public void setCoachCode(String coachCode) 
    {
        this.coachCode = coachCode;
    }

    public String getCoachCode() 
    {
        return coachCode;
    }
    public void setCoachTeachYear(Long coachTeachYear) 
    {
        this.coachTeachYear = coachTeachYear;
    }

    public Long getCoachTeachYear() 
    {
        return coachTeachYear;
    }
    public void setCoachGender(String coachGender) 
    {
        this.coachGender = coachGender;
    }

    public String getCoachGender() 
    {
        return coachGender;
    }
    public void setCoachBirthday(Date coachBirthday) 
    {
        this.coachBirthday = coachBirthday;
    }

    public Date getCoachBirthday() 
    {
        return coachBirthday;
    }
    public void setCoachUnitPrice(BigDecimal coachUnitPrice) 
    {
        this.coachUnitPrice = coachUnitPrice;
    }

    public BigDecimal getCoachUnitPrice() 
    {
        return coachUnitPrice;
    }
    public void setCoachDescription(String coachDescription) 
    {
        this.coachDescription = coachDescription;
    }

    public String getCoachDescription() 
    {
        return coachDescription;
    }
    public void setCoachStatus(String coachStatus) 
    {
        this.coachStatus = coachStatus;
    }

    public String getCoachStatus() 
    {
        return coachStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("coachId", getCoachId())
            .append("coachName", getCoachName())
            .append("coachCode", getCoachCode())
            .append("coachTeachYear", getCoachTeachYear())
            .append("coachGender", getCoachGender())
            .append("coachBirthday", getCoachBirthday())
            .append("coachUnitPrice", getCoachUnitPrice())
            .append("coachDescription", getCoachDescription())
            .append("coachStatus", getCoachStatus())
            .toString();
    }
}
